package test.patterns;

import javax.swing.SwingUtilities;

/*
 * http://shulgadim.blogspot.dk/2012/01/model-view-controller-mvc-pattern_13.html
 */

public class MVCMain
{
    public static void main(String[] args) {           
        SwingUtilities.invokeLater(new Runnable() {
            @Override
            public void run() {                                           
                MVCModel model = new MVCModel(0);
                MVCView view = new MVCView("-"); 
                MVCController controller = new MVCController(model,view);
                controller.control();
            }
        });  
    }
}